<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>
<%@ taglib uri="/struts-tags" prefix="s" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <base href="<%=basePath%>">
    
    <title>发送短信</title>
    
	<meta http-equiv="pragma" content="no-cache">
	<meta http-equiv="cache-control" content="no-cache">
	<meta http-equiv="expires" content="0">    
	<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
	<meta http-equiv="description" content="This is my page">
	<!--
	<link rel="stylesheet" type="text/css" href="styles.css">
	-->
	<LINK TYPE="text/css" REL="stylesheet" HREF="${pageContext.request.contextPath}/style/blue/pageCommon.css" />
	
  </head>
  
  <body>
   <DIV ID="Title_bar">
			<DIV ID="Title_bar_Head">
				<DIV ID="Title_Head"></DIV>
				<DIV ID="Title">
					<!--页面标题-->
					<IMG BORDER="0" WIDTH="13" HEIGHT="13" SRC="${pageContext.request.contextPath}/style/images/title_arrow.gif" />
					草稿箱
				</DIV>
				<DIV ID="Title_End"></DIV>
			</DIV>
		</DIV>
    <div ID="MainArea">
    	<s:form action="Messages_save">
        	<table>
            	<tr><td><s:textfield label="标题" name="messages.title"/></td>
                <td><s:select label="级别" list="#{true:'重要',false:'普通'}" name="messages.priorty"/></td>
                </tr>
                <tr><td><s:select label="接收人" list="userList" name="userId" value="userId"/></td></tr>
                <tr><td><s:textarea cols="50" rows="10" label="内容" name="messages.contents"/></td></tr>
                <tr><td><s:submit value="发送"/><s:hidden name="messageId"/><s:hidden name="saveOrUpdate"/></td><td><s:submit value="保存到草稿箱" action="Messages_addDraft" /></td><td><s:reset onClick="window.history.back()" value="返回"/></td></tr>
            </table>
       </s:form>
    </div>
</body>
  
</html>
